home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / FredFish PD 316.adf / Life / blit.h < prev    next >
C/C++ Source or Header  |  1990-02-06  |  583b  |  26 lines

  1. /*
  2.  *   This is the structure passed to the new
  3.  *   blit routine that holds all of the
  4.  *   parameters.
  5.  */
  6. struct blitparam {
  7.    short con0, con1, fwm, lwm ;
  8.    short *asource, *bsource, *csource, *dsource ;
  9.    short bltsize ;
  10.    short amod, bmod, cmod, dmod ;
  11.    short cdat, bdat, adat ;
  12. } ;
  13. /*
  14.  *   Defines to make things a tad easier.
  15.  */
  16. #define USEA (0x0800)
  17. #define USEB (0x0400)
  18. #define USEC (0x0200)
  19. #define USED (0x0100)
  20. #define EFE (0x0010)
  21. #define IFE (0x0008)
  22. #define FCI (0x0004)
  23. #define DESC (0x0002)
  24. #define BLTSIZE(x,y) (((y)<<6)+x)
  25. #define SHIFTSHIFT(x) ((x)<<12)
  26.